package com.iafme.dto.req;

import com.systemframework.sys.dto.request.common.PageResponseDTO;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @author summer
 * @version 1.0
 * @date 2025/2/19 09:45
 */
@Data
public class MessageReqDTO extends PageResponseDTO implements Serializable {

    private Integer id;

    @NotNull(message = "消息标题不能为空")
    private String name;

    @NotNull(message = "消息内容不能为空")
    private String context;

    private Integer selectType;

    private List<Integer> memberIds;
}
